import java.util.ArrayList;
import java.util.Collections;

class Student{
    private String name;
    private String classes;
    private double score;

    public Student(String name, String classes, double score) {
        this.name = name;
        this.classes = classes;
        this.score = score;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getClasses() {
        return classes;
    }

    public void setClasses(String classes) {
        this.classes = classes;
    }

    public double getScore() {
        return score;
    }

    public void setScore(double score) {
        this.score = score;
    }

    @Override
    public String toString() {
        return "Student{" +
                "name='" + name + '\'' +
                ", classes='" + classes + '\'' +
                ", score=" + score +
                '}';
    }
}
public class List0820 {
    public static void main(String[] args) {
        String str1 = "welcome to bit";
        String str2 = "come";
        ArrayList<Character> list = new ArrayList<>();
        for (int i = 0; i < str1.length(); i++){
            char ch = str1.charAt(i);
            if  (!str2.contains(ch+"")){
                list.add(ch);
            }

        }
        for (char ch: list) {
            System.out.print(ch);

        }
    }
    public static void main2(String[] args) {
        ArrayList<Integer> integers = new ArrayList<>();
        integers.add(1);
        integers.add(5);
        integers.add(3);
       // Collections.sort(integers);
        Collections.reverse(integers);
        System.out.println(integers);
    }
    public static void main1(String[] args) {
        ArrayList<Student> students = new ArrayList<>();
        students.add(new Student("bit","102",59));
        students.add(new Student("b","102",58));
        students.add(new Student("bt","102",99));
        System.out.println(students);
    }

}
